package com.woniuxy.service.impl;

import com.woniuxy.entity.Coordinate;
import com.woniuxy.mapper.CoordinateMapper;
import com.woniuxy.service.CoordinateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CoordinateServiceImpl implements CoordinateService {
    @Resource
    private CoordinateMapper coordinateMapper;
    @Override
    public int insertCoordinate(Coordinate coordinate) throws Exception {
        return coordinateMapper.insert(coordinate);
    }
}
